#ifndef DICT_H
#define DICT_H
#include "ListAsoc.h"
#include "bool.h"

typedef char Word[20];
typedef char Def[100];

typedef struct{
int tam;
ListAsoc la;
} Dict;

Dict dict_empty(void);
Dict dict_add(Dict d, Word w, Def f);
bool dict_exists(Dict d, Word w);
void dict_search(Dict d,Word w, Def f);
Dict dict_del(Dict d, Word w);
void dict_print(Dict d);
int dict_size(Dict d);

#endif
